package com.ima.model;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * persion类
 * @author xiaowen
 * @date 2016年5月30日
 * @ version 1.0
 */
@Entity
@Table(name = "t_persion")
public class Persion {
    @Id
    private String id;

    private String userName;

    private String userSex;

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the userSex
     */
    public String getUserSex() {
        return userSex;
    }

    /**
     * @param userSex the userSex to set
     */
    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    @Override
    public String toString() {
        return "Persion{" +
                "id='" + id + '\'' +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                '}';
    }
}
